package cn.scu.ne04jdemo.entitiy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
@TableName(value = "sche_task_dev_match_info")
public class ScheTaskDevMatchInfoEntity implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    private String orderId;
    @TableField(exist = false)
    private String orderName;
    private String taskId;
    @TableField(exist = false)
    private String taskName;
    private String devId;
    @TableField(exist = false)
    private String devName;
    private LocalDateTime scheStartTime;
    private LocalDateTime scheEndTime;
    private LocalDateTime createDate;
    private LocalDateTime updateDate;

//    public String getRightTypeName(){
//        return SysCodeUtil.SysCodeMap.get(this.rightType);
//    }
}
